"""
用例基类
"""
import unittest
from time import sleep
from tools.tools import chrome


class BaseCase(unittest.TestCase): # base类里面存的是重复取的用例
    def setUp(self) -> None:
        self.driver = chrome()

    def tearDown(self) -> None:
        sleep(5)
        self.driver.quit()
